package com.kehutong.house.entity;

import com.kehutong.common.entity.DataEntity;
import com.kehutong.house.enums.*;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.annotation.UnSave;
import org.coraframework.orm.util.IDType;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商铺信息
 * @author liukl
 * @createTime 2021年5月12日上午10:06:29
 */
@Table(value="t_shop", multi=true, idType=IDType.TIMESTAMP)
public class Shop extends DataEntity {

	private static final long serialVersionUID = 5501827289826182316L;

	protected Shop(String id) {
		super(id);
	}


	@Column(comment="小区编号")
	private String communityNo;

	@Column(comment="小区名称")
	private String communityName;

	@Column(comment="商鋪分类编号")
	private String shopClassifyNo;

	@Column(comment="商鋪分类名称")
	private String shopClassifyName;

	@Column(comment="商铺名称(商铺号)")
	private String name;

	@Column(comment="别名")
	private String viewName;

	@Column(comment="物业类别")
	private PropertyType propertyType;

	@Column(comment="建筑面积")
	private BigDecimal buildArea;

	@Column(comment="实用面积")
	private BigDecimal useArea;

	@Column(comment="计费面积")
	private BigDecimal payArea;


	@Column(comment = "业主编号")
	private String ownerNo;

	@Column(comment = "业主姓名")
	private String ownerName;

	@Column(comment = "业主手机号")
	private String ownerMobile;

	// ----------------房屋状态----------------
	@Column(comment="销售状态")
	private SalesStatus salesStatus;

	@Column(comment="收房状态")
	private HarvestStatus harvestStatus;

	@Column(comment = "装修状态")
	private DecoratedStasus decoratedStasus;

	@Column(comment = "入住状态")
	private ResideStasus resideStasus;

	@Column(comment = "出租状态")
	private RentStasus rentStasus;

	@Column(comment = "创建人")
	private String create_by;

	@Column(comment = "创建人")
	private String createUserId;

	@Column(comment = "创建人部门")
	private List<String> createDepartment;

	@Column(comment = "创建人部门的上级部门")
	private List<String> createChildDepartment;

	@UnSave
	private List<String> employeeNames;

	@UnSave
	private List<String> parent_ids;

	@Column(comment="逻辑删除")
	private boolean deleted;

	@Column(comment="启用状态")
	private boolean enable;

	@Column(comment = "标签信息")
	private List<String> tags;

	public String getCommunityNo() {
		return communityNo;
	}

	public void setCommunityNo(String communityNo) {
		this.communityNo = communityNo;
	}

	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public String getShopClassifyNo() {
		return shopClassifyNo;
	}

	public void setShopClassifyNo(String shopClassifyNo) {
		this.shopClassifyNo = shopClassifyNo;
	}

	public String getShopClassifyName() {
		return shopClassifyName;
	}

	public void setShopClassifyName(String shopClassifyName) {
		this.shopClassifyName = shopClassifyName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getViewName() {
		return viewName;
	}

	public void setViewName(String viewName) {
		this.viewName = viewName;
	}

	public PropertyType getPropertyType() {
		return propertyType;
	}

	public void setPropertyType(PropertyType propertyType) {
		this.propertyType = propertyType;
	}

	public BigDecimal getBuildArea() {
		return buildArea;
	}

	public void setBuildArea(BigDecimal buildArea) {
		this.buildArea = buildArea;
	}

	public BigDecimal getUseArea() {
		return useArea;
	}

	public void setUseArea(BigDecimal useArea) {
		this.useArea = useArea;
	}

	public BigDecimal getPayArea() {
		return payArea;
	}

	public void setPayArea(BigDecimal payArea) {
		this.payArea = payArea;
	}

	public SalesStatus getSalesStatus() {
		return salesStatus;
	}

	public void setSalesStatus(SalesStatus salesStatus) {
		this.salesStatus = salesStatus;
	}

	public HarvestStatus getHarvestStatus() {
		return harvestStatus;
	}

	public void setHarvestStatus(HarvestStatus harvestStatus) {
		this.harvestStatus = harvestStatus;
	}

	public DecoratedStasus getDecoratedStasus() {
		return decoratedStasus;
	}

	public void setDecoratedStasus(DecoratedStasus decoratedStasus) {
		this.decoratedStasus = decoratedStasus;
	}

	public ResideStasus getResideStasus() {
		return resideStasus;
	}

	public void setResideStasus(ResideStasus resideStasus) {
		this.resideStasus = resideStasus;
	}

	public RentStasus getRentStasus() {
		return rentStasus;
	}

	public void setRentStasus(RentStasus rentStasus) {
		this.rentStasus = rentStasus;
	}

	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

	public String getOwnerNo() {
		return ownerNo;
	}

	public void setOwnerNo(String ownerNo) {
		this.ownerNo = ownerNo;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getOwnerMobile() {
		return ownerMobile;
	}

	public void setOwnerMobile(String ownerMobile) {
		this.ownerMobile = ownerMobile;
	}

	public List<String> getEmployeeNames() {
		return employeeNames;
	}

	public void setEmployeeNames(List<String> employeeNames) {
		this.employeeNames = employeeNames;
	}

	public List<String> getParent_ids() {
		return parent_ids;
	}

	public void setParent_ids(List<String> parent_ids) {
		this.parent_ids = parent_ids;
	}

	public String getCreate_by() {
		return create_by;
	}

	public void setCreate_by(String create_by) {
		this.create_by = create_by;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public List<String> getCreateDepartment() {
		return createDepartment;
	}

	public void setCreateDepartment(List<String> createDepartment) {
		this.createDepartment = createDepartment;
	}

	public List<String> getCreateChildDepartment() {
		return createChildDepartment;
	}

	public void setCreateChildDepartment(List<String> createChildDepartment) {
		this.createChildDepartment = createChildDepartment;
	}

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public List<String> getTags() {
		return tags;
	}

	public void setTags(List<String> tags) {
		this.tags = tags;
	}
}
